<?php
include_once('global.php');
if($action->_islogin())					//检测是否判断
{
	header('Location:login.php');
	exit();
}

//退出动作
if(isset($_GET['action']) && $_GET['action'] == 'logout')
{
	$action->_logout();
	header("Location:index.php");
}
include('templates/index.html');
?>